package com.authority.framework.log;



import com.authority.framework.log.enums.BusinessType;

import java.lang.annotation.*;

/**
 * @program: jx
 * @description: 记录日志自定义注解
 * @author: Mr.Yan
 * @create: 2018-09-21 09:40
 **/
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {
    /** 模块 */
    String title() default "";

    /** 功能 */
    BusinessType businessType() default BusinessType.OTHER;

}
